<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/commons/taglibs.jsp" %>
<html>
<head>
    <title>权限管理系统</title>
    <%@include file="/commons/resource.jsp" %>
    <style type="text/css">
		* {
			font-size: 12px;
			font-family: Tahoma, Verdana, 微软雅黑, 新宋体;
		}
		
		ul.my_menu {
			list-style: none;
			position: relative;
			border: 0px;
			padding: 0px 16px;
			font-size: 13px;
		}
		
		ul.my_menu li {
			line-height: 25px;
		}
		
		ul.my_menu li a {
			text-decoration: none;
			color: #616161;
			display: block;
			line-height: 25px;
			height: 25px;
		}
		
		ul.my_menu li a .nav {
			margin-left: 3px;
		}
		
		ul.my_menu li a .icon {
			vertical-align: middle;
		}
		
		ul.my_menu li a:hover {
			color: #2a6496;
			background-color: #ccc;
		}
		
		ul.my_menu .icon {
			width: 16px;
			height: 16px;
			display: inline-block;
		}
		
		.easyui-accordion ul li div.hover {
			border: 1px dashed #99BBE8;
			background: #E0ECFF;
			cursor: pointer;
		}
		
		.easyui-accordion ul li div.hover a {
			color: #416AA3;
		}
		
		.easyui-accordion ul li div.selected {
			border: 1px solid #99BBE8;
			background: #E0ECFF;
			cursor: default;
		}
		
		.easyui-accordion ul li div.selected a {
			color: #416AA3;
			font-weight: bold;
		}
		.ui-header {
			background: url("${ctx}/static/images/layout-browser-hd-bg.gif") repeat-x center;
			font-family: 'lucida grande',tahoma,arial,sans-serif;
			color: white;
			margin: 0px;
			padding: 0px;
		}
		.ui-header h1 {
			font-size: 16px;
			color: white;
			font-weight: normal;
			padding: 5px 1px;
			float: left;
			font-weight: bold;
			margin-left: 1px;
			text-indent: 20px;
		}
		.ui-login {
			float: right;
			padding: 5px;
		}
		.ui-login a {
			color: #D7E8F7;
		}
</style>
<script type="text/javascript" src="${ctx}/static/js/app/index.js"></script>
</head>
<body class="easyui-layout">
	<div data-options="region:'north'" style="height:34px;margin-bottom: 5px;">
		<%@include file="/commons/frame/top.jsp" %>
	</div>
	<div data-options="region:'south'" style="height:25px;text-align: center;padding-top: 3px">
		Copyright© 深圳市零壹移动互联系统有限公司
	</div>
	<div data-options="region:'west',split:true" title="导航菜单" style="width:200px;">
		<%@include file="/commons/frame/left.jsp" %>
	</div>
	<div data-options="region:'center',iconCls:'icon-ok'">
		<div id="tabs" class="easyui-tabs" fit="true" border="false">
			<div title="欢迎使用" style="padding:20px;overflow:hidden;" id="home">
				
			<h1>欢迎使用统一权限管理系统</h1>

			</div>
		</div>
	</div>
	<!--  modify password start -->
	<div id="modify-pwd-win"  class="easyui-dialog" buttons="#editPwdbtn" title="修改用户密码" data-options="closed:true,iconCls:'icon-save',modal:true" style="width:340px;height:210px;padding-top:5px">
		<form id="pwdForm" action="modifyPwd.do" class="ui-form" method="post">
     		 <div class="ui-edit">
     		 	<div class="fitem">  
	              <label>用户名:</label>  
	              <input name="userName" type="text" class="easyui-validatebox" value="${session_user.userName}" readonly="readonly"/>
	           </div>
	           <div class="fitem">  
	              <label>旧密码:</label>  
	              <input id="oldPwd" name="oldPassword" type="password" class="easyui-validatebox"  data-options="required:true"/>
	           </div>
	            <div class="fitem">  
	               <label>新密码:</label>  
	               <input id="newPwd" name="newPassword" type="password" class="easyui-validatebox" data-options="required:true,validType:'length[4,10]'" />
	           </div> 
	           <div class="fitem">
	               <label>重复密码:</label>  
	              <input id="rpwd" name="rPassword" type="password" class="easyui-validatebox"   required="required" validType="equals['#newPwd']" invalidMessage="密码两次输入不一致"/>
	           </div> 
	         </div>
     	 </form>
     	 <div id="editPwdbtn" class="dialog-button" >  
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" id="btn-pwd-submit">保  存</a>  
            <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" id="btn-pwd-close">关  闭</a>  
         </div>
	</div>
</body>
</html>